/* ======================================================
   ROOT
====================================================== */

:root {
  --ink: #0f3d3e;
  --ink-deep: #0a2b2c;

  --plaster: #f6f1e4;
  --plaster-dim: #efe8d6;

  --brass: #b8874b;
  --brass-light: #d9b577;

  --tile: #b5502e;

  --charcoal: #1c2321;
  --sage: #dce8df;

  --line: rgba(15, 61, 62, 0.14);

  --shadow:
    0 20px 50px -25px
    rgba(10, 43, 44, 0.45);

  --shadow-soft:
    0 8px 32px -12px
    rgba(10, 43, 44, 0.18);
}


/* ======================================================
   RESET
====================================================== */

* {
  box-sizing: border-box;
}


html {
  scroll-behavior: smooth;

  scroll-padding-top: 85px;
}


body {
  margin: 0;

  background:
    var(--plaster);

  color:
    var(--charcoal);

  font-family:
    "Plus Jakarta Sans",
    sans-serif;

  -webkit-font-smoothing:
    antialiased;

  text-rendering:
    optimizeLegibility;
}


body.menu-open {
  overflow: hidden;
}


h1,
h2,
h3 {
  margin: 0;

  font-family:
    "Amiri",
    serif;

  color:
    var(--ink-deep);
}


p {
  margin: 0;
}


a {
  color: inherit;
}


img,
svg {
  display: block;

  max-width: 100%;
}


button,
a {
  -webkit-tap-highlight-color:
    transparent;
}


.wrap {
  width:
    min(
      100% - 56px,
      1120px
    );

  margin-inline: auto;
}


/* ======================================================
   HEADER
====================================================== */
.brand-mark {
  width: 46px;
  height: 46px;

  flex-shrink: 0;

  object-fit: contain;
}

.site-header {
  position: sticky;

  top: 0;

  z-index: 1000;

  background:
    rgba(
      246,
      241,
      228,
      0.95
    );

  border-bottom:
    1px solid
    var(--line);

  backdrop-filter:
    blur(14px);

  -webkit-backdrop-filter:
    blur(14px);
}


.nav {
  max-width: 1120px;

  min-height: 88px;

  margin: auto;

  padding:
    12px 28px;

  display: flex;

  justify-content:
    space-between;

  align-items: center;

  gap: 30px;
}


/* ======================================================
   BRAND
====================================================== */

.brand {
  display: flex;

  align-items: center;

  gap: 13px;

  text-decoration: none;

  min-width: 0;
}


.brand-mark {
  width: 42px;

  height: 42px;

  flex-shrink: 0;
}


.brand-text {
  line-height: 1.1;
}


.brand-text .name {
  font-family:
    "Amiri",
    serif;

  font-weight: 700;

  font-size: 22px;

  color:
    var(--ink-deep);

  white-space: nowrap;
}


.brand-text .place {
  margin-top: 3px;

  font-size: 10px;

  font-weight: 700;

  color:
    var(--brass);

  text-transform:
    uppercase;

  letter-spacing:
    0.12em;
}


/* ======================================================
   DESKTOP NAVIGATION
====================================================== */

nav.links {
  display: flex;

  align-items: center;

  gap: 32px;

  font-size: 15px;

  font-weight: 600;
}


nav.links a {
  position: relative;

  padding: 10px 0;

  color:
    var(--ink);

  text-decoration: none;
}


nav.links a::after {
  content: "";

  position: absolute;

  left: 0;

  right: 100%;

  bottom: 3px;

  height: 2px;

  background:
    var(--brass);

  transition:
    right 0.25s ease;
}


nav.links a:hover::after {
  right: 0;
}


/* ======================================================
   HAMBURGER
====================================================== */

.menu-toggle {
  display: none;

  width: 46px;

  height: 46px;

  padding: 10px;

  border: 0;

  border-radius: 10px;

  background: transparent;

  cursor: pointer;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  gap: 5px;
}


.menu-toggle span {
  width: 24px;

  height: 2px;

  display: block;

  background:
    var(--ink-deep);

  border-radius: 999px;

  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}


/* ======================================================
   HERO
====================================================== */

.hero {
  position: relative;

  overflow: hidden;

  color:
    var(--plaster);

  background:
    radial-gradient(
      120% 90% at 78% 15%,
      #2e6e63 0%,
      #0f3d3e 46%,
      #0a2b2c 100%
    );
}


.hero-bg {
  position: absolute;

  inset: 0;

  opacity: 0.22;

  pointer-events: none;

  background-image:
    radial-gradient(
      rgba(
        217,
        181,
        119,
        0.18
      ) 1px,
      transparent 1px
    );

  background-size:
    28px 28px;
}


.hero-inner {
  position: relative;

  z-index: 2;

  max-width: 1120px;

  margin: auto;

  padding:
    85px 28px 70px;

  display: grid;

  grid-template-columns:
    1.05fr 0.95fr;

  align-items: center;

  gap: 48px;
}


.hero h1 {
  font-size:
    clamp(
      42px,
      5.5vw,
      68px
    );

  line-height: 1.04;

  color: white;
}


.hero h1 em {
  color:
    var(--brass-light);

  font-weight: 400;
}


.eyebrow {
  display: inline-flex;

  align-items: center;

  gap: 10px;

  margin-bottom: 18px;

  color:
    var(--tile);

  font-size: 12px;

  font-weight: 700;

  text-transform:
    uppercase;

  letter-spacing:
    0.14em;
}


.eyebrow::before {
  content: "";

  width: 20px;

  height: 1px;

  background:
    currentColor;
}


.hero .eyebrow {
  color:
    var(--brass-light);
}


.hero .lede {
  max-width: 530px;

  margin-top: 22px;

  font-size: 16px;

  line-height: 1.75;

  color:
    rgba(
      246,
      241,
      228,
      0.88
    );
}


.hero-note {
  margin-top: 14px;

  color:
    rgba(
      246,
      241,
      228,
      0.55
    );

  font-size: 12px;
}


.hero-cta {
  margin-top: 34px;

  display: flex;

  flex-wrap: wrap;

  gap: 14px;
}


/* ======================================================
   BUTTON
====================================================== */

.btn {
  min-height: 46px;

  padding:
    12px 21px;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  border:
    1px solid transparent;

  border-radius: 8px;

  font-size: 14px;

  font-weight: 700;

  text-decoration: none;

  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}


.btn:hover {
  transform:
    translateY(-2px);
}


.btn-primary {
  color:
    var(--ink-deep);

  background:
    var(--brass);

  box-shadow:
    0 12px 30px -12px
    rgba(
      184,
      135,
      75,
      0.65
    );
}


.btn-primary:hover {
  background:
    var(--brass-light);
}


.btn-ghost {
  color:
    var(--plaster);

  border-color:
    rgba(
      246,
      241,
      228,
      0.35
    );

  background:
    rgba(
      255,
      255,
      255,
      0.02
    );
}


.btn-ghost:hover {
  background:
    rgba(
      255,
      255,
      255,
      0.08
    );
}


/* ======================================================
   HERO ART
====================================================== */

.hero-art {
  position: relative;

  height: 340px;
}


.hero-art-glow {
  position: absolute;

  inset: 10% 5%;

  background:
    radial-gradient(
      ellipse,
      rgba(
        217,
        181,
        119,
        0.22
      ),
      transparent 66%
    );
}


.mosque-float {
  position: relative;

  z-index: 2;

  animation:
    mosqueFloat
    5s
    ease-in-out
    infinite;
}


@keyframes mosqueFloat {
  0%,
  100% {
    transform:
      translateY(0);
  }

  50% {
    transform:
      translateY(-10px);
  }
}


/* ======================================================
   HERO ORBS
====================================================== */

.hero-orbs {
  position: absolute;

  inset: 0;

  overflow: hidden;

  pointer-events: none;
}


.orb {
  position: absolute;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(
        217,
        181,
        119,
        0.16
      ),
      transparent 70%
    );

  animation:
    orbFloat
    14s
    ease-in-out
    infinite;
}


.orb-1 {
  width: 300px;

  height: 300px;

  top: -90px;

  right: 6%;
}


.orb-2 {
  width: 190px;

  height: 190px;

  bottom: -30px;

  left: 4%;

  animation-delay: -5s;
}


.orb-3 {
  width: 120px;

  height: 120px;

  top: 40%;

  right: 35%;

  animation-delay: -8s;
}


@keyframes orbFloat {
  0%,
  100% {
    transform:
      translate(0, 0);
  }

  50% {
    transform:
      translate(
        15px,
        -18px
      );
  }
}


/* ======================================================
   COUNTDOWN + JADWAL SHOLAT (DIGABUNG)
====================================================== */

.pc-wrap {
  padding: 40px 0;

  background:
    var(--ink-deep);

  border-top:
    1px solid
    rgba(
      255,
      255,
      255,
      0.06
    );
}


.pc-card {
  max-width: 980px;

  margin: auto;

  padding:
    28px 32px;

  display: flex;

  align-items: center;

  gap: 32px;

  flex-wrap: wrap;

  color: white;

  border:
    1px solid
    rgba(
      217,
      181,
      119,
      0.22
    );

  border-radius: 18px;

  background:
    rgba(
      255,
      255,
      255,
      0.04
    );

  box-shadow:
    var(--shadow);
}


/* KIRI: COUNTDOWN */

.pc-main {
  display: flex;

  align-items: center;

  gap: 20px;

  flex-shrink: 0;
}


.pc-icon {
  width: 56px;

  height: 56px;

  flex-shrink: 0;

  display: flex;

  justify-content: center;

  align-items: center;

  color:
    var(--brass-light);

  border:
    1px solid
    rgba(
      217,
      181,
      119,
      0.4
    );

  border-radius: 50%;
}


.pc-icon svg {
  width: 27px;
}


.pc-label {
  color:
    var(--brass-light);

  font-size: 11px;

  font-weight: 700;

  letter-spacing:
    0.1em;

  text-transform:
    uppercase;
}


.pc-timer {
  margin-top: 5px;

  color: white;

  font-family:
    "Amiri",
    serif;

  font-size:
    clamp(
      28px,
      3.6vw,
      38px
    );

  font-weight: 700;

  font-variant-numeric:
    tabular-nums;
}


.pc-sub {
  margin-top: 2px;

  font-size: 12px;

  color:
    rgba(
      246,
      241,
      228,
      0.65
    );
}


/* PEMISAH */

.pc-divider {
  width: 1px;

  align-self: stretch;

  background:
    rgba(
      255,
      255,
      255,
      0.14
    );
}


/* KANAN: JADWAL SHOLAT */

.pc-jadwal {
  flex: 1;

  min-width: 300px;
}


.pc-jadwal-eyebrow {
  margin-bottom: 12px;

  color:
    var(--brass-light);

  font-size: 10px;

  font-weight: 700;

  text-transform:
    uppercase;

  letter-spacing:
    0.12em;
}


.jadwal-grid {
  display: grid;

  grid-template-columns:
    repeat(6, 1fr);

  gap: 8px;
}


.jcard {
  padding:
    10px 6px;

  text-align: center;

  border:
    1px solid
    rgba(
      255,
      255,
      255,
      0.1
    );

  border-radius: 10px;

  background:
    rgba(
      255,
      255,
      255,
      0.05
    );

  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}


.jcard:hover {
  transform:
    translateY(-2px);

  border-color:
    rgba(
      217,
      181,
      119,
      0.4
    );
}


.jcard-icon {
  width: 16px;

  height: 16px;

  margin:
    0 auto 6px;

  color:
    var(--brass-light);
}


.jname {
  color:
    rgba(
      246,
      241,
      228,
      0.6
    );

  font-size: 9px;

  font-weight: 700;

  text-transform:
    uppercase;

  letter-spacing:
    0.05em;
}


.jtime {
  margin-top: 4px;

  color: white;

  font-family:
    "Plus Jakarta Sans",
    sans-serif;

  font-size: 14px;

  font-weight: 700;
}


/* SHOLAT BERIKUTNYA */

.jcard.active {
  background:
    var(--brass);

  border-color:
    var(--brass);

  transform:
    translateY(-2px);
}


.jcard.active .jname {
  color:
    rgba(
      10,
      43,
      44,
      0.75
    );
}


.jcard.active .jtime {
  color:
    var(--ink-deep);
}


.jcard.active .jcard-icon {
  color:
    var(--ink-deep);
}


.jadwal-meta {
  margin-top: 12px;

  display: flex;

  gap: 12px;

  flex-wrap: wrap;

  color:
    rgba(
      246,
      241,
      228,
      0.5
    );

  font-size: 10.5px;
}


.jadwal-status {
  margin-top: 6px;

  color:
    rgba(
      246,
      241,
      228,
      0.5
    );

  font-size: 11px;
}


/* ======================================================
   COMMON SECTION
====================================================== */

section {
  padding: 85px 0;
}


.sec-head {
  max-width: 650px;

  margin-bottom: 42px;
}


.sec-head h2 {
  font-size:
    clamp(
      30px,
      4vw,
      40px
    );

  line-height: 1.15;
}


.sec-head p {
  margin-top: 12px;

  color:
    rgba(
      28,
      35,
      33,
      0.68
    );

  font-size: 14px;

  line-height: 1.7;
}

/* ======================================================
   CAMPAIGN DONASI
====================================================== */

.section-donasi {
  position: relative;

  background:
    var(--plaster);

  overflow: hidden;
}


.section-donasi::before {
  content: "";

  position: absolute;

  width: 340px;
  height: 340px;

  top: -170px;
  right: -110px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(184, 135, 75, 0.12),
      transparent 70%
    );

  pointer-events: none;
}


.donasi-header {
  position: relative;

  z-index: 1;

  display: flex;

  align-items: flex-start;

  justify-content: space-between;

  gap: 30px;
}


.donasi-sec-head {
  margin-bottom: 42px;
}


.donasi-see-all {
  flex-shrink: 0;

  margin-top: 20px;

  min-height: 44px;

  padding: 11px 17px;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 10px;

  border:
    1px solid var(--line);

  border-radius: 9px;

  background:
    rgba(255, 255, 255, 0.7);

  color:
    var(--ink-deep);

  font-size: 13px;

  font-weight: 700;

  text-decoration: none;

  box-shadow:
    var(--shadow-soft);

  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}


.donasi-see-all:hover {
  transform:
    translateY(-2px);

  background: white;

  border-color:
    rgba(184, 135, 75, 0.4);
}


.donasi-see-all span {
  color:
    var(--brass);

  font-size: 17px;
}


/* ======================================================
   CAMPAIGN GRID
====================================================== */

.campaign-grid {
  position: relative;

  z-index: 1;

  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 22px;
}


/* ======================================================
   CAMPAIGN CARD
====================================================== */

.campaign-card {
  min-width: 0;

  overflow: hidden;

  display: flex;

  flex-direction: column;

  border:
    1px solid
    rgba(15, 61, 62, 0.12);

  border-radius: 16px;

  background:
    rgba(255, 255, 255, 0.82);

  box-shadow:
    var(--shadow-soft);

  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.24s ease;
}


.campaign-card:hover {
  transform:
    translateY(-5px);

  box-shadow:
    var(--shadow);

  border-color:
    rgba(184, 135, 75, 0.35);
}


/* ======================================================
   CAMPAIGN IMAGE
====================================================== */

.campaign-image-wrap {
  position: relative;

  width: 100%;

  aspect-ratio: 16 / 10;

  overflow: hidden;

  background:
    linear-gradient(
      135deg,
      var(--sage),
      var(--plaster-dim)
    );
}


.campaign-image {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition:
    transform 0.4s ease;
}


.campaign-card:hover .campaign-image {
  transform:
    scale(1.035);
}


.campaign-image-placeholder {
  width: 100%;
  height: 100%;

  display: flex;

  align-items: center;

  justify-content: center;

  padding: 30px;

  text-align: center;

  color:
    rgba(15, 61, 62, 0.55);

  font-size: 12px;

  font-weight: 700;
}


/* ======================================================
   BADGE
====================================================== */

.campaign-badges {
  position: absolute;

  top: 14px;
  left: 14px;
  right: 14px;

  display: flex;

  align-items: center;

  gap: 8px;

  flex-wrap: wrap;
}


.campaign-priority,
.campaign-category {
  display: inline-flex;

  align-items: center;

  min-height: 25px;

  padding:
    5px 9px;

  border-radius: 999px;

  font-size: 9px;

  line-height: 1;

  font-weight: 800;

  letter-spacing:
    0.07em;

  text-transform:
    uppercase;
}


.campaign-priority {
  color: white;

  background:
    var(--tile);

  box-shadow:
    0 6px 18px
    rgba(181, 80, 46, 0.24);
}


.campaign-category {
  color:
    var(--ink-deep);

  background:
    rgba(246, 241, 228, 0.94);
}


/* ======================================================
   CONTENT
====================================================== */

.campaign-content {
  padding:
    22px 21px 21px;

  display: flex;

  flex: 1;

  flex-direction: column;
}


.campaign-content h3 {
  color:
    var(--ink-deep);

  font-family:
    "Amiri",
    serif;

  font-size: 23px;

  line-height: 1.2;
}


.campaign-description {
  margin-top: 9px;

  min-height: 42px;

  color:
    rgba(28, 35, 33, 0.63);

  font-size: 12.5px;

  line-height: 1.65;

  display: -webkit-box;

  -webkit-line-clamp: 2;

  line-clamp: 2;

  -webkit-box-orient:
    vertical;

  overflow: hidden;
}


/* ======================================================
   PROGRESS
====================================================== */

.campaign-progress-info {
  margin-top: 22px;

  display: flex;

  justify-content: space-between;

  align-items: flex-end;

  gap: 10px;
}


.campaign-percent-label {
  display: block;

  margin-bottom: 3px;

  color:
    rgba(28, 35, 33, 0.5);

  font-size: 9px;

  font-weight: 700;

  letter-spacing:
    0.07em;

  text-transform:
    uppercase;
}


.campaign-percentage {
  color:
    var(--ink-deep);

  font-size: 20px;

  font-weight: 800;
}


.campaign-target {
  text-align: right;

  color:
    rgba(28, 35, 33, 0.6);

  font-size: 10.5px;

  line-height: 1.5;
}


.campaign-target strong {
  display: block;

  color:
    var(--ink-deep);

  font-size: 12px;
}


/* ======================================================
   PROGRESS BAR
====================================================== */

.campaign-progress-track {
  width: 100%;

  height: 8px;

  margin-top: 11px;

  overflow: hidden;

  border-radius: 999px;

  background:
    rgba(15, 61, 62, 0.1);
}


.campaign-progress-bar {
  width: 0;

  height: 100%;

  border-radius: inherit;

  background:
    linear-gradient(
      90deg,
      var(--ink),
      #2e6e63
    );
}


/* ======================================================
   CARD FOOTER
====================================================== */

.campaign-footer {
  margin-top: 20px;

  padding-top: 18px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 14px;

  border-top:
    1px solid
    rgba(15, 61, 62, 0.09);
}


.campaign-collected-label {
  display: block;

  margin-bottom: 3px;

  color:
    rgba(28, 35, 33, 0.47);

  font-size: 9px;

  font-weight: 700;

  letter-spacing:
    0.07em;

  text-transform:
    uppercase;
}


.campaign-collected-value {
  color:
    var(--ink-deep);

  font-size: 13px;

  font-weight: 800;
}


/* ======================================================
   DONATE BUTTON
====================================================== */

.campaign-donate {
  min-height: 39px;

  padding:
    9px 14px;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 7px;

  border-radius: 8px;

  background:
    var(--ink);

  color: white;

  font-size: 11.5px;

  font-weight: 700;

  text-decoration: none;

  transition:
    transform 0.2s ease,
    background 0.2s ease;
}


.campaign-donate:hover {
  transform:
    translateY(-2px);

  background:
    var(--ink-deep);
}


/* ======================================================
   EMPTY / LOADING
====================================================== */

.campaign-loading {
  grid-column:
    1 / -1;

  padding:
    40px 20px;

  border:
    1px dashed
    rgba(15, 61, 62, 0.18);

  border-radius: 14px;

  color:
    rgba(28, 35, 33, 0.55);

  text-align: center;

  font-size: 13px;
}


.campaign-empty {
  margin-top: 8px;

  padding:
    18px 20px;

  border-left:
    3px solid
    var(--brass);

  border-radius:
    0 8px 8px 0;

  background:
    rgba(255, 255, 255, 0.6);

  color:
    rgba(28, 35, 33, 0.6);

  font-size: 13px;
}


/* ======================================================
   CAMPAIGN RESPONSIVE
====================================================== */

@media (max-width: 900px) {

  .campaign-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

}


@media (max-width: 640px) {

  .donasi-header {
    display: block;
  }


  .donasi-sec-head {
    margin-bottom: 22px;
  }


  .donasi-see-all {
    margin-top: 0;

    margin-bottom: 28px;
  }


  .campaign-grid {
    grid-template-columns: 1fr;

    gap: 18px;
  }


  .campaign-content {
    padding:
      20px 18px;
  }


  .campaign-content h3 {
    font-size: 22px;
  }


  .campaign-description {
    min-height: 0;
  }

}

/* ======================================================
   KEGIATAN
====================================================== */

.section-bg-kegiatan {
  position: relative;

  background:
    linear-gradient(
      145deg,
      var(--plaster-dim),
      #e2eae0
    );
}


.keg-grid {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 20px;
}


.keg-card {
  min-height: 180px;

  padding:
    26px 23px;

  border:
    1px solid
    rgba(
      15,
      61,
      62,
      0.12
    );

  border-radius: 14px;

  background:
    rgba(
      255,
      255,
      255,
      0.62
    );

  box-shadow:
    var(--shadow-soft);

  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}


.keg-card:hover {
  transform:
    translateY(-4px);

  box-shadow:
    var(--shadow);
}


.keg-tag {
  color:
    var(--tile);

  font-size: 11px;

  font-weight: 700;

  letter-spacing:
    0.08em;

  text-transform:
    uppercase;
}


.keg-card h3 {
  margin-top: 7px;

  color:
    var(--ink-deep);

  font-size: 21px;
}


.keg-card p {
  margin-top: 10px;

  color:
    rgba(
      28,
      35,
      33,
      0.65
    );

  font-size: 13px;

  line-height: 1.65;
}


.keg-placeholder-note {
  margin-top: 20px;

  padding:
    14px 17px;

  background:
    rgba(
      255,
      255,
      255,
      0.6
    );

  border-left:
    3px solid
    var(--brass);

  border-radius:
    0 8px 8px 0;

  color:
    rgba(
      28,
      35,
      33,
      0.6
    );

  font-size: 13px;
}


/* ======================================================
   LOCATION
====================================================== */

.section-bg-lokasi {
  background:
    var(--plaster);
}


.loc-grid {
  display: grid;

  grid-template-columns:
    0.9fr 1.1fr;

  gap: 28px;

  align-items: stretch;
}


.loc-card {
  padding:
    31px 27px;

  border:
    1px solid
    var(--line);

  border-radius: 14px;

  background:
    rgba(
      255,
      255,
      255,
      0.75
    );

  box-shadow:
    var(--shadow-soft);
}


.loc-card h3 {
  font-size: 24px;
}


.loc-item {
  margin-top: 22px;
}


.loc-item .lab {
  color:
    var(--brass);

  font-size: 10px;

  font-weight: 700;

  text-transform:
    uppercase;

  letter-spacing:
    0.1em;
}


.loc-item .val {
  margin-top: 6px;

  color:
    var(--charcoal);

  font-size: 14px;

  line-height: 1.65;
}


.map-link {
  color:
    var(--tile);

  font-weight: 700;

  text-decoration: none;
}


.map-link:hover {
  text-decoration: underline;
}


.map-frame {
  min-height: 340px;

  overflow: hidden;

  border:
    1px solid
    var(--line);

  border-radius: 14px;

  box-shadow:
    var(--shadow);
}


.map-frame iframe {
  width: 100%;

  height: 100%;

  min-height: 340px;

  display: block;

  border: 0;
}


/* ======================================================
   FOOTER
====================================================== */

footer {
  padding:
    42px 0 25px;

  color:
    rgba(
      246,
      241,
      228,
      0.7
    );

  background:
    var(--ink-deep);
}


.foot-inner {
  width:
    min(
      100% - 56px,
      1120px
    );

  margin: auto;

  display: flex;

  align-items: center;

  justify-content:
    space-between;

  gap: 25px;

  flex-wrap: wrap;
}


.foot-name {
  color: white;

  font-family:
    "Amiri",
    serif;

  font-size: 21px;

  font-weight: 700;
}


.foot-location {
  margin-top: 3px;

  font-size: 12px;
}


.foot-links {
  display: flex;

  gap: 20px;

  flex-wrap: wrap;
}


.foot-links a {
  color:
    rgba(
      246,
      241,
      228,
      0.7
    );

  font-size: 12px;

  font-weight: 600;

  text-decoration: none;
}


.foot-links a:hover {
  color:
    var(--brass-light);
}


.foot-copy {
  width:
    min(
      100% - 56px,
      1120px
    );

  margin:
    26px auto 0;

  padding-top: 18px;

  text-align: center;

  border-top:
    1px solid
    rgba(
      255,
      255,
      255,
      0.08
    );

  color:
    rgba(
      246,
      241,
      228,
      0.4
    );

  font-size: 11px;
}


/* ======================================================
   TABLET
====================================================== */

@media (max-width: 900px) {

  .hero-inner {
    grid-template-columns: 1fr;

    padding-top: 65px;
  }


  .hero-art {
    height: 260px;
  }


  .pc-card {
    justify-content: center;
  }


  .keg-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }


  .loc-grid {
    grid-template-columns: 1fr;
  }

}


/* ======================================================
   MOBILE NAVIGATION
====================================================== */

@media (max-width: 720px) {

  html {
    scroll-padding-top: 75px;
  }


  .site-header {
    overflow: visible;
  }


  .nav {
    position: relative;

    min-height: 72px;

    padding:
      10px 20px;
  }


  .brand {
    gap: 10px;
  }


  .brand-mark {
    width: 36px;

    height: 36px;
  }


  .brand-text .name {
    font-size: 18px;
  }


  .brand-text .place {
    font-size: 9px;
  }


  .menu-toggle {
    display: flex;

    flex-shrink: 0;
  }


  nav.links {
    position: absolute;

    top:
      calc(100% + 8px);

    left: 16px;

    right: 16px;

    z-index: 1100;

    display: flex;

    flex-direction: column;

    align-items: stretch;

    gap: 2px;

    padding: 8px;

    border:
      1px solid
      rgba(
        15,
        61,
        62,
        0.13
      );

    border-radius: 14px;

    background:
      rgba(
        246,
        241,
        228,
        0.98
      );

    box-shadow:
      0 20px 45px
      rgba(
        10,
        43,
        44,
        0.22
      );

    backdrop-filter:
      blur(18px);

    -webkit-backdrop-filter:
      blur(18px);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transform:
      translateY(-8px);

    transition:
      opacity 0.2s ease,
      transform 0.2s ease,
      visibility 0.2s ease;
  }


  nav.links.active {
    opacity: 1;

    visibility: visible;

    pointer-events: auto;

    transform:
      translateY(0);
  }


  nav.links a {
    width: 100%;

    min-height: 48px;

    padding:
      13px 15px;

    display: flex;

    align-items: center;

    border-radius: 9px;

    color:
      var(--ink-deep);

    font-size: 14px;
  }


  nav.links a:hover,
  nav.links a:focus {
    background:
      rgba(
        15,
        61,
        62,
        0.07
      );
  }


  nav.links a::after {
    display: none;
  }


  .menu-toggle.active span:nth-child(1) {
    transform:
      translateY(7px)
      rotate(45deg);
  }


  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }


  .menu-toggle.active span:nth-child(3) {
    transform:
      translateY(-7px)
      rotate(-45deg);
  }

}


/* ======================================================
   PHONE
====================================================== */

@media (max-width: 640px) {

  .wrap {
    width:
      min(
        100% - 36px,
        1120px
      );
  }


  section {
    padding:
      64px 0;
  }


  .hero-inner {
    padding:
      55px 20px 48px;
  }


  .hero h1 {
    font-size:
      clamp(
        38px,
        12vw,
        52px
      );
  }


  .hero .lede {
    font-size: 14px;
  }


  .hero-cta {
    display: grid;

    grid-template-columns:
      1fr;

    width: 100%;
  }


  .btn {
    width: 100%;
  }


  .hero-art {
    height: 210px;

    margin-top: 10px;
  }


  /* COUNTDOWN + JADWAL
     tetap dalam SATU CARD,
     tapi vertikal agar muat HP */

  .pc-wrap {
    padding:
      28px 0;
  }


  .pc-card {
    flex-direction: column;

    align-items: stretch;

    padding:
      22px 18px;

    gap: 18px;
  }


  .pc-main {
    justify-content: center;
  }


  .pc-icon {
    width: 47px;

    height: 47px;
  }


  .pc-icon svg {
    width: 22px;
  }


  .pc-divider {
    width: 100%;

    height: 1px;
  }


  .pc-jadwal {
    min-width: 0;
  }


  .pc-jadwal-eyebrow {
    text-align: center;
  }


  .jadwal-grid {
    grid-template-columns:
      repeat(3, 1fr);

    gap: 8px;
  }


  .jcard {
    padding:
      8px 4px;
  }


  .jtime {
    font-size: 13px;
  }


  .jadwal-meta {
    justify-content: center;

    text-align: center;
  }


  .sec-head {
    margin-bottom: 30px;
  }


  .sec-head h2 {
    font-size: 31px;
  }


  .keg-grid {
    grid-template-columns: 1fr;
  }


  .map-frame,
  .map-frame iframe {
    min-height: 300px;
  }


  .foot-inner {
    width:
      min(
        100% - 36px,
        1120px
      );

    flex-direction: column;

    align-items:
      flex-start;
  }


  .foot-links {
    flex-direction: column;

    gap: 12px;
  }


  .foot-copy {
    width:
      min(
        100% - 36px,
        1120px
      );
  }

}


/* ======================================================
   VERY SMALL PHONE
====================================================== */

@media (max-width: 390px) {

  .nav {
    padding:
      9px 14px;
  }


  .brand-mark {
    width: 33px;

    height: 33px;
  }


  .brand-text .name {
    font-size: 16px;
  }


  .brand-text .place {
    display: none;
  }


  nav.links {
    left: 10px;

    right: 10px;
  }


  .hero-inner {
    padding-left: 17px;

    padding-right: 17px;
  }


  .jadwal-grid {
    gap: 6px;
  }


  .jname {
    font-size: 8px;
  }

}


/* ======================================================
   SAFE AREA IPHONE
====================================================== */

@supports (padding: max(0px)) {

  .nav {
    padding-left:
      max(
        20px,
        env(
          safe-area-inset-left
        )
      );

    padding-right:
      max(
        20px,
        env(
          safe-area-inset-right
        )
      );
  }


  footer {
    padding-bottom:
      max(
        25px,
        env(
          safe-area-inset-bottom
        )
      );
  }

}


/* ======================================================
   REDUCED MOTION
====================================================== */

@media (
  prefers-reduced-motion:
  reduce
) {

  html {
    scroll-behavior:
      auto;
  }


  *,
  *::before,
  *::after {
    animation-duration:
      0.01ms !important;

    animation-iteration-count:
      1 !important;

    transition-duration:
      0.01ms !important;
  }

}